home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Programming / EnterAct 3.5 / hAWK project / AWK Source / GCVT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-22  |  182 b   |  10 lines  |  [TEXT/TOPC]

  1. #include <stdio.h>
  2.  
  3. char    *gcvt(double value, short digits, char *buff);
  4.  
  5. char    *gcvt(double value, short digits, char *buff)
  6. {
  7.     sprintf(buff, "%*g", digits, value);
  8.     return (buff);
  9. }
  10.